let name1:string = person.name as string;
let name1:string = person.name!; // ^ note the exclamation mark here